package demo1;
//同一包中的子类
public class D extends B {
    public void method(){
        super.a=10;
        super.b=20;
        super.c=30;
       // super.d=40;报错

    }
}
